remove nans from array

40

x = x[~numpy.isnan(x)]
df = df[df['my_var'].notna()]
a[ ~np.isnan(a).any(axis=1),:]

Comments

Submit
0 Comments